package devkit.commando.rpc {
	
	/**
	 * Class that resembles a service gateway which a RPC request uses to gain access to a server.
	 * @author Francois Dempers
	 */
	public class RPCGateway {
		
		/** The adress of the gateway on the remote server to connect through. */
		public var address:String;
		
		/** The destination of the service, for example PHP, ColdFusion, Java, etc. */
		public var destination:String;
		
		/**
		 * Creates a new <code>RPCGateway</code> object.
		 * @param address The adress of the gateway on the remote server to connect through.
		 * @param destination The destination of the service, for example PHP, ColdFusion, Java. 
		 */
		public function RPCGateway(address:String, destination:String) {
			
			this.address = address;
			this.destination = destination;
		}
	}
}